from app.core.constants import TriggerType
from .cron import CronTrigger
from .delay import DelayTrigger
from .interval import IntervalTrigger

TriggerMap = {
    TriggerType.CRON: CronTrigger,
    TriggerType.DELAY: DelayTrigger,
    TriggerType.INTERVAL: IntervalTrigger,
}

__all__ = ["CronTrigger", "DelayTrigger", "IntervalTrigger", "TriggerMap"]